#!/bin/bash
function increment(){
	local sum
	let "sum=$1+1"
	return $sum
}
echo -n 'the sum is '
increment 5
echo $?
